encoding/binary.littleEndian.Uint32 (method, view implemented interface methods)
162 uses
encoding/binary (current package)
binary.go#L90: func (littleEndian) Uint32(b []byte) uint32 {
compress/gzip
gunzip.go#L189: if t := int64(le.Uint32(z.buf[4:8])); t > 0 {
gunzip.go#L265: digest := le.Uint32(z.buf[:4])
gunzip.go#L266: size := le.Uint32(z.buf[4:8])
github.com/andybalholm/brotli
bit_reader.go#L118: br.val_ |= (uint64(binary.LittleEndian.Uint32(br.input[br.byte_pos:]))) << 32
compress_fragment.go#L36: return binary.LittleEndian.Uint32(p1) == binary.LittleEndian.Uint32(p2) &&
compress_fragment_two_pass.go#L33: if binary.LittleEndian.Uint32(p1) != binary.LittleEndian.Uint32(p2) {
find_match_length.go#L33: w1 := binary.LittleEndian.Uint32(s1[matched:])
find_match_length.go#L34: w2 := binary.LittleEndian.Uint32(s2[matched:])
h10.go#L20: var h uint32 = binary.LittleEndian.Uint32(data) * kHashMul32
h5.go#L27: var h uint32 = binary.LittleEndian.Uint32(data) * kHashMul32
hash.go#L58: var h uint32 = binary.LittleEndian.Uint32(data) * kHashMul32
hash_forgetful_chain.go#L21: var hash uint32 = binary.LittleEndian.Uint32(data) * kHashMul32
static_dict.go#L23: var h uint32 = binary.LittleEndian.Uint32(data) * kDictHashMul32
github.com/andybalholm/brotli/matchfinder
bargain1.go#L152: if repIndex >= 0 && binary.LittleEndian.Uint32(src[repIndex:]) == uint32(cv) {
bargain1.go#L167: binary.LittleEndian.Uint32(src[candidate6.offset:]) == uint32(cv) {
bargain2.go#L166: if repIndex >= 0 && binary.LittleEndian.Uint32(src[repIndex:]) == uint32(cv) {
bargain2.go#L183: binary.LittleEndian.Uint32(src[candidate5.offset:]) == uint32(cv) {
bargain2.go#L199: binary.LittleEndian.Uint32(src[candidate8.offset:]) == uint32(cv) {
bargain3.go#L159: extra := binary.LittleEndian.Uint32(src[i+8:])
bargain3.go#L176: if repIndex >= 0 && binary.LittleEndian.Uint32(src[repIndex:]) == uint32(cv) {
bargain3.go#L193: binary.LittleEndian.Uint32(src[candidate5.offset:]) == uint32(cv) {
bargain3.go#L209: binary.LittleEndian.Uint32(src[candidate8.offset:]) == uint32(cv) {
bargain3.go#L225: binary.LittleEndian.Uint32(src[candidate12.offset:]) == uint32(cv) {
m0.go#L103: if binary.LittleEndian.Uint32(src[s:]) == binary.LittleEndian.Uint32(src[candidate:]) {
m0.go#L122: if okDistance && binary.LittleEndian.Uint32(src[newBase:]) == binary.LittleEndian.Uint32(src[newCandidate:]) {
m4.go#L131: if binary.LittleEndian.Uint32(src[i+1:]) == binary.LittleEndian.Uint32(src[i+1-prevDistance:]) {
m4.go#L159: if binary.LittleEndian.Uint32(src[candidate:]) == binary.LittleEndian.Uint32(src[i:]) {
m4.go#L175: if binary.LittleEndian.Uint32(src[candidate:]) == binary.LittleEndian.Uint32(src[i:]) {
m4.go#L313: iBytes := binary.LittleEndian.Uint32(src[i:])
m4.go#L314: jBytes := binary.LittleEndian.Uint32(src[j:])
pathfinder.go#L159: if binary.LittleEndian.Uint32(src[i+1:]) == binary.LittleEndian.Uint32(src[i+1-prevDistance:]) {
pathfinder.go#L168: if binary.LittleEndian.Uint32(src[candidate:]) == binary.LittleEndian.Uint32(src[i:]) {
pathfinder.go#L185: if binary.LittleEndian.Uint32(src[candidate:]) == binary.LittleEndian.Uint32(src[i:]) {
trio.go#L93: extra := binary.LittleEndian.Uint32(src[s+8:])
trio.go#L113: if repIndex >= 0 && binary.LittleEndian.Uint32(src[repIndex:]) == uint32(cv>>8) {
trio.go#L123: binary.LittleEndian.Uint32(src[candidate12.offset:]) == uint32(cv) {
trio.go#L130: binary.LittleEndian.Uint32(src[candidate8.offset:]) == uint32(cv) {
trio.go#L136: binary.LittleEndian.Uint32(src[candidate5.offset:]) == uint32(cv) {
trio.go#L147: extra = binary.LittleEndian.Uint32(src[s+8:])
trio.go#L153: extra := binary.LittleEndian.Uint32(src[s+9:])
trio.go#L164: binary.LittleEndian.Uint32(src[candidate12.offset:]) == uint32(cv) {
trio.go#L168: binary.LittleEndian.Uint32(src[candidate8.offset:]) == uint32(cv) {
trio.go#L191: extra0 := binary.LittleEndian.Uint32(src[index0+8:])
trio.go#L200: extra = binary.LittleEndian.Uint32(src[s+8:])
trio.go#L215: binary.LittleEndian.Uint32(src[candidate12.offset:]) == uint32(cv) {
trio.go#L219: binary.LittleEndian.Uint32(src[candidate8.offset:]) == uint32(cv) {
trio.go#L284: extra0 := binary.LittleEndian.Uint32(src[index0+8:])
zdfast.go#L110: if offset1 != 0 && repIndex >= 0 && binary.LittleEndian.Uint32(src[repIndex:]) == uint32(cv>>8) {
zdfast.go#L137: if binary.LittleEndian.Uint32(src[t:]) == uint32(cv) {
zdfast.go#L144: if binary.LittleEndian.Uint32(src[t:]) != uint32(cv) {
zdfast.go#L156: if binary.LittleEndian.Uint32(src[t:]) == uint32(cv) {
zdfast.go#L220: if o2 := s - offset2; offset2 != 0 && binary.LittleEndian.Uint32(src[o2:]) == uint32(cv) {
zfast.go#L105: if offset1 != 0 && repIndex >= 0 && binary.LittleEndian.Uint32(src[repIndex:]) == uint32(cv>>16) {
zfast.go#L131: if binary.LittleEndian.Uint32(src[t:]) == uint32(cv) {
zfast.go#L138: if binary.LittleEndian.Uint32(src[t:]) == uint32(cv>>8) {
zfast.go#L175: if o2 := s - offset2; offset2 != 0 && binary.LittleEndian.Uint32(src[o2:]) == uint32(cv) {
zm.go#L104: if repIndex >= 0 && binary.LittleEndian.Uint32(src[repIndex:]) == uint32(cv>>8) {
zm.go#L114: binary.LittleEndian.Uint32(src[candidateL.offset:]) == uint32(cv) {
zm.go#L120: binary.LittleEndian.Uint32(src[candidateS.offset:]) == uint32(cv) {
zm.go#L129: binary.LittleEndian.Uint32(src[candidateL.offset:]) == uint32(cv) {
zm.go#L182: binary.LittleEndian.Uint32(src[candidateL.offset:]) == uint32(cv) {
zm.go#L186: binary.LittleEndian.Uint32(src[candidateS.offset:]) == uint32(cv) {
zm.go#L196: binary.LittleEndian.Uint32(src[candidateL.offset:]) == uint32(cv) {
github.com/cespare/xxhash/v2
xxhash.go#L220: func u32(b []byte) uint32 { return binary.LittleEndian.Uint32(b) }
github.com/coder/websocket
frame.go#L98: h.maskKey = binary.LittleEndian.Uint32(readBuf)
mask.go#L116: v := binary.LittleEndian.Uint32(b)
write.go#L335: c.writeHeader.maskKey = binary.LittleEndian.Uint32(c.writeHeaderBuf[:])
github.com/gotd/td/bin
decode.go#L14: v := binary.LittleEndian.Uint32(b.Buf)
github.com/gotd/td/mtproxy/faketls
client_hello.go#L98: old := binary.LittleEndian.Uint32(random[clientRandomLength-4:])
github.com/gotd/td/mtproxy/obfuscated2
keys_util.go#L44: firstInt := binary.LittleEndian.Uint32(init[0:4])
keys_util.go#L55: if secondInt := binary.LittleEndian.Uint32(init[4:8]); secondInt == 0 {
github.com/gotd/td/proto/codec
codec.go#L37: n := int(binary.LittleEndian.Uint32(b.Buf[:bin.Word]))
github.com/gotd/td/session/tdesktop
file.go#L105: v := binary.LittleEndian.Uint32(version[:])
github.com/klauspost/compress/gzip
gunzip.go#L198: hdr.ModTime = time.Unix(int64(le.Uint32(z.buf[4:8])), 0)
gunzip.go#L275: digest := le.Uint32(z.buf[:4])
gunzip.go#L276: size := le.Uint32(z.buf[4:8])
gunzip.go#L353: digest := le.Uint32(z.buf[:4])
gunzip.go#L354: size := le.Uint32(z.buf[4:8])
github.com/klauspost/compress/zstd
decodeheader.go#L126: h.SkippableSize = binary.LittleEndian.Uint32(in)
decoder.go#L918: dec.checkCRC = binary.LittleEndian.Uint32(crc)
dict.go#L84: d.id = binary.LittleEndian.Uint32(b[4:8])
framedec.go#L305: want := binary.LittleEndian.Uint32(buf[:4])
github.com/klauspost/compress/zstd/internal/xxhash
xxhash.go#L207: func u32(b []byte) uint32 { return binary.LittleEndian.Uint32(b) }
golang.org/x/crypto/chacha20
chacha_generic.go#L98: binary.LittleEndian.Uint32(key[0:4]),
chacha_generic.go#L99: binary.LittleEndian.Uint32(key[4:8]),
chacha_generic.go#L100: binary.LittleEndian.Uint32(key[8:12]),
chacha_generic.go#L101: binary.LittleEndian.Uint32(key[12:16]),
chacha_generic.go#L102: binary.LittleEndian.Uint32(key[16:20]),
chacha_generic.go#L103: binary.LittleEndian.Uint32(key[20:24]),
chacha_generic.go#L104: binary.LittleEndian.Uint32(key[24:28]),
chacha_generic.go#L105: binary.LittleEndian.Uint32(key[28:32]),
chacha_generic.go#L108: binary.LittleEndian.Uint32(nonce[0:4]),
chacha_generic.go#L109: binary.LittleEndian.Uint32(nonce[4:8]),
chacha_generic.go#L110: binary.LittleEndian.Uint32(nonce[8:12]),
chacha_generic.go#L361: x4 := binary.LittleEndian.Uint32(key[0:4])
chacha_generic.go#L362: x5 := binary.LittleEndian.Uint32(key[4:8])
chacha_generic.go#L363: x6 := binary.LittleEndian.Uint32(key[8:12])
chacha_generic.go#L364: x7 := binary.LittleEndian.Uint32(key[12:16])
chacha_generic.go#L365: x8 := binary.LittleEndian.Uint32(key[16:20])
chacha_generic.go#L366: x9 := binary.LittleEndian.Uint32(key[20:24])
chacha_generic.go#L367: x10 := binary.LittleEndian.Uint32(key[24:28])
chacha_generic.go#L368: x11 := binary.LittleEndian.Uint32(key[28:32])
chacha_generic.go#L369: x12 := binary.LittleEndian.Uint32(nonce[0:4])
chacha_generic.go#L370: x13 := binary.LittleEndian.Uint32(nonce[4:8])
chacha_generic.go#L371: x14 := binary.LittleEndian.Uint32(nonce[8:12])
chacha_generic.go#L372: x15 := binary.LittleEndian.Uint32(nonce[12:16])
golang.org/x/crypto/chacha20poly1305
chacha20poly1305_amd64.go#L34: state[4] = binary.LittleEndian.Uint32(key[0:4])
chacha20poly1305_amd64.go#L35: state[5] = binary.LittleEndian.Uint32(key[4:8])
chacha20poly1305_amd64.go#L36: state[6] = binary.LittleEndian.Uint32(key[8:12])
chacha20poly1305_amd64.go#L37: state[7] = binary.LittleEndian.Uint32(key[12:16])
chacha20poly1305_amd64.go#L38: state[8] = binary.LittleEndian.Uint32(key[16:20])
chacha20poly1305_amd64.go#L39: state[9] = binary.LittleEndian.Uint32(key[20:24])
chacha20poly1305_amd64.go#L40: state[10] = binary.LittleEndian.Uint32(key[24:28])
chacha20poly1305_amd64.go#L41: state[11] = binary.LittleEndian.Uint32(key[28:32])
chacha20poly1305_amd64.go#L44: state[13] = binary.LittleEndian.Uint32(nonce[0:4])
chacha20poly1305_amd64.go#L45: state[14] = binary.LittleEndian.Uint32(nonce[4:8])
chacha20poly1305_amd64.go#L46: state[15] = binary.LittleEndian.Uint32(nonce[8:12])
vendor/golang.org/x/crypto/chacha20
chacha_generic.go#L98: binary.LittleEndian.Uint32(key[0:4]),
chacha_generic.go#L99: binary.LittleEndian.Uint32(key[4:8]),
chacha_generic.go#L100: binary.LittleEndian.Uint32(key[8:12]),
chacha_generic.go#L101: binary.LittleEndian.Uint32(key[12:16]),
chacha_generic.go#L102: binary.LittleEndian.Uint32(key[16:20]),
chacha_generic.go#L103: binary.LittleEndian.Uint32(key[20:24]),
chacha_generic.go#L104: binary.LittleEndian.Uint32(key[24:28]),
chacha_generic.go#L105: binary.LittleEndian.Uint32(key[28:32]),
chacha_generic.go#L108: binary.LittleEndian.Uint32(nonce[0:4]),
chacha_generic.go#L109: binary.LittleEndian.Uint32(nonce[4:8]),
chacha_generic.go#L110: binary.LittleEndian.Uint32(nonce[8:12]),
chacha_generic.go#L361: x4 := binary.LittleEndian.Uint32(key[0:4])
chacha_generic.go#L362: x5 := binary.LittleEndian.Uint32(key[4:8])
chacha_generic.go#L363: x6 := binary.LittleEndian.Uint32(key[8:12])
chacha_generic.go#L364: x7 := binary.LittleEndian.Uint32(key[12:16])
chacha_generic.go#L365: x8 := binary.LittleEndian.Uint32(key[16:20])
chacha_generic.go#L366: x9 := binary.LittleEndian.Uint32(key[20:24])
chacha_generic.go#L367: x10 := binary.LittleEndian.Uint32(key[24:28])
chacha_generic.go#L368: x11 := binary.LittleEndian.Uint32(key[28:32])
chacha_generic.go#L369: x12 := binary.LittleEndian.Uint32(nonce[0:4])
chacha_generic.go#L370: x13 := binary.LittleEndian.Uint32(nonce[4:8])
chacha_generic.go#L371: x14 := binary.LittleEndian.Uint32(nonce[8:12])
chacha_generic.go#L372: x15 := binary.LittleEndian.Uint32(nonce[12:16])
vendor/golang.org/x/crypto/chacha20poly1305
chacha20poly1305_amd64.go#L34: state[4] = binary.LittleEndian.Uint32(key[0:4])
chacha20poly1305_amd64.go#L35: state[5] = binary.LittleEndian.Uint32(key[4:8])
chacha20poly1305_amd64.go#L36: state[6] = binary.LittleEndian.Uint32(key[8:12])
chacha20poly1305_amd64.go#L37: state[7] = binary.LittleEndian.Uint32(key[12:16])
chacha20poly1305_amd64.go#L38: state[8] = binary.LittleEndian.Uint32(key[16:20])
chacha20poly1305_amd64.go#L39: state[9] = binary.LittleEndian.Uint32(key[20:24])
chacha20poly1305_amd64.go#L40: state[10] = binary.LittleEndian.Uint32(key[24:28])
chacha20poly1305_amd64.go#L41: state[11] = binary.LittleEndian.Uint32(key[28:32])
chacha20poly1305_amd64.go#L44: state[13] = binary.LittleEndian.Uint32(nonce[0:4])
chacha20poly1305_amd64.go#L45: state[14] = binary.LittleEndian.Uint32(nonce[4:8])
chacha20poly1305_amd64.go#L46: state[15] = binary.LittleEndian.Uint32(nonce[8:12])
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |